package com.bootdo.program.wallpaper.service;

import com.bootdo.program.wallpaper.dao.BzQuotationsDao;
import com.bootdo.program.wallpaper.domain.BzQuotationsDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class BzQuotationsService {
	@Autowired
	private BzQuotationsDao bzQuotationsDao;
	
	
	public BzQuotationsDO get(Integer id){
		return bzQuotationsDao.get(id);
	}
	
	
	public List<BzQuotationsDO> list(Map<String, Object> map){
		return bzQuotationsDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return bzQuotationsDao.count(map);
	}
	
	
	public int save(BzQuotationsDO bzQuotations){
		return bzQuotationsDao.save(bzQuotations);
	}
	
	
	public int update(BzQuotationsDO bzQuotations){
		return bzQuotationsDao.update(bzQuotations);
	}
	
	
	public int remove(Integer id){
		return bzQuotationsDao.remove(id);
	}
	
	
	public int batchRemove(Integer[] ids){
		return bzQuotationsDao.batchRemove(ids);
	}
	
}
